package priv.yiyuan.example.design;

/**
 * HTML格式化类
 * <p>
 * 桥接模式(具体实现者)
 */
public class HtmlFormatter implements DocumentFormatter{

    @Override
    public String format(String content) {
        return "<html><body><p>" + content + "</p></body></html>";
    }
}
